Skip to content

Conversation

@feniljain
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Included in the issue

Are these changes tested?

While I have tested this on local with a local TPCDS-like dataset, I would appreciate if someone provides me a good way to add tests for the same 😅

@github-actions github-actions bot added the datasource Changes to the datasource crate label Oct 20, 2025
@feniljain feniljain force-pushed the feat-dynamic-filter-join-partition-col branch from 2e64a1e to 1a02eae Compare October 20, 2025 09:38
@feniljain feniljain changed the title feat: allow pushdown of dynamic filters with expr having partition cols feat: allow pushdown of dynamic filters having partition cols Oct 20, 2025
@feniljain feniljain force-pushed the feat-dynamic-filter-join-partition-col branch 4 times, most recently from 115d3c1 to 2d8fb9c Compare October 20, 2025 10:08
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Oct 22, 2025
@feniljain feniljain force-pushed the feat-dynamic-filter-join-partition-col branch 2 times, most recently from e58d9ec to 2c1ee6e Compare October 22, 2025 06:20
@feniljain feniljain requested a review from adriangb October 22, 2025 07:01
@adriangb
Copy link
Contributor

adriangb commented Oct 22, 2025

@feniljain mind if I push 7818a42c7 to your branch / this PR?

@feniljain
Copy link
Contributor Author

feniljain commented Oct 22, 2025

Sure thing! No worries, thanks for the patch :)

@github-actions github-actions bot added the core Core DataFusion crate label Oct 23, 2025
@adriangb adriangb force-pushed the feat-dynamic-filter-join-partition-col branch from 8290691 to 05284cf Compare October 24, 2025 14:12
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 24, 2025
feniljain and others added 10 commits October 26, 2025 20:37
Added documentation explaining the introduction of the TableSchema
struct and the breaking change to FileSource::with_schema() method
signature (changed from SchemaRef to TableSchema).

Includes:
- Overview of TableSchema purpose and structure
- Who is affected by the change
- Migration guide for custom FileSource implementations
- Code examples showing how to update implementations
- Examples of using TableSchema directly

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@adriangb adriangb force-pushed the feat-dynamic-filter-join-partition-col branch from 22079c6 to 503a5d8 Compare October 27, 2025 01:52
@adriangb
Copy link
Contributor

@feniljain thanks for your patience. I had to resolve some conflicts but I think this is looking good now. I'll give it one last review tomorrow and then we can probably merge it.

_execution plan_ of the query. With this release, `DESCRIBE query` now outputs
the computed _schema_ of the query, consistent with the behavior of `DESCRIBE table_name`.

### Introduction of `TableSchema` and changes to `FileSource::with_schema()` method
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that TableSchema was not added in this PR but this PR does use it in a way that introduces a notable breaking change, so I think it's an appropriate time to add it to the upgrade guide.

Copy link
Contributor

@friendlymatthew friendlymatthew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me. Thanks @feniljain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate datasource Changes to the datasource crate documentation Improvements or additions to documentation sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic filters with partition columns do not get pushed down through DataSourceExec

3 participants